const apiUrls = {
    // 用户相关接口
    users: {
        login: `/login`,
        list: '/users',
        create: '/users',
        register:`/register`,
        logout:`/logout`,
        getUserInfo:`/getUserInfo`,
        detail: (id) => `/users/${id}`,
        update: (id) => `/users/${id}`,
        delete: (id) => `/users/${id}`
    },
    zhjy:{
        zhjyLogin:`/zhjy/login`,
        getToken:`/zhjy/getToken`,
        getZhjyStatus:`/zhjy/getZhjyStatus`,
        getZhjyClocks:`/zhjy/getClocks`,
        getZhjyUploadFileUrl:`/zhjy/uploadFileUrl`,
        saveZhjyClock:`/zhjy/saveZhjyClock`,
        saveZhjyLog:`/zhjy/saveZhjyLog`,
        getLogRows:`/zhjy/getLogRows`,
    },
    imageManger:{
        imageMager:`/imageManger/imageMager`,
        getZhjyRepots:`/imageManger/ZhjyRepots`,
    },
    schedule:{
        tasks:`/schedule-tasks`,
    },
    address:{
        addressList:`/address`,
    },
    settings:{
        dawnSetting:`/dawnSetting`,
        logSetting:`/logSetting`,
    },
    root:{
        getAllUserDetails:`root/user/manage`,
        updateUserDetails:`root/user/manage`,
        deleteUserDetails:`root/user/manage`,
        
        getAllTaskDetails:`root/task/manage`,
        updateTaskDetails:`root/task/manage`,
        deleteTaskDetails:`root/task/manage`,
        getAllfriend: `root/friend/manage`
    },
    push:{
        getQrCode: `/push/getQrCode`,
        getWechatQrCode: `/push/getWechatQrCode`,
        pushToken: `/push/token`,
        sendTestMsg: `/push/sendTestMsg`,
        
    }
    // 其他模块的接口可以继续添加
    // otherModule: {
    //     action1: '/api/other-module/action1',
    //     action2: '/api/other-module/action2'
    // }
};



export default apiUrls;